package com.developmentReformProject.dao;

import com.developmentReformProject.dto.AdminQueryDto;
import com.developmentReformProject.dto.ApplyQueryDto;
import com.developmentReformProject.entity.Admin;
import com.developmentReformProject.entity.Apply;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 审核项目库dao
 */
@Mapper
public interface ApplyDao {
    int countSelective(ApplyQueryDto applyQueryDto);

    /**
     * 动态查询
     * @param
     * @return
     * @throws Exception
     */
    public List<Apply> selectSelective(ApplyQueryDto applyQueryDto) throws Exception;
    void addApply(Apply apply);
    void updateApply(Apply apply);
    void  deleteProject(Integer projectNo);

    public void cleanProject(int ProjectNo);
    public List<Apply> listDelete(ApplyQueryDto applyQueryDto);
    int countClean(ApplyQueryDto applyQueryDto);
    Apply queryByNo(int projectNo);
    Double queryInvestment(int projectNo);
    int countOne();
    int countTwo();
    int countThree();
    int countFour();
    int countFive();
    int countSix();

}
